package moe.oil.api.databaseAPI;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "database-service",contextId = "test")
public interface DatabaseAPI {
    @GetMapping("/db/{id}")
    public String test(@PathVariable("id") Integer id);


}
